home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 46
/
Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso
/
-in_the_mag-
/
reader_requests
/
scilab
/
demos
/
dialog
/
dialog.dem
Wrap
Text File
|
1999-09-16
|
1KB
|
28 lines
x_message(['x_message: Simple example of message ';
'First row of comments';
'Second row';
'etc...';])
x_dialog('x_dialog: trial',' ')
x_dialog('Trial ','3.1592653')
x_dialog(['trial ';'trial1';'trial2';'trial3';'trial4';..
'trial6';'trial7'],'[0 1 2 3]')
x_message('trial')
x_message(['trial';'trial1';'trial2';'trial3';'trial4';'trial6';'trial7';..
'trial3';'trial4';'trial6';'trial7';'trial3';'trial4';'trial6';'trial7'])
x_choose(['trial';'trial1';'trial2';'trial3';'trial4';'trial7';..
'trial3';'trial4';'trial6';'trial7';'trial3';'trial4';'trial6'],..
'selection (click on one item --> returns the item number)')
x_mdialog(['here: your message';...
'(edit the boxes below --> ouput: edited boxes)'],...
['first row';'second row';'etc...'],...
['value1';'value2';'value3'])
n=5;m=4;mat=rand(n,m);
row='row';labelv=row(ones(1,n))+string(1:n)';
col='col';labelh=col(ones(1,m))+string(1:m)';
new=evstr(x_mdialog('Matrix to edit',labelv,labelh,string(mat)))